package chapter08.chapter8_7_ChangeUnidirectionalAssociationToBidirectional.ver02;

import java.util.Set;

public class Customer {

    private Set<Order> orders;

    public Set<Order> friendOrders() {
        return orders;
    }

    public void addOrder(Order order) {
        order.setCustomer(this);
    }
}
